package com.corpgovernment.common.utils;

import java.util.Objects;

public class LogSplicingUtils {

    public static StringBuilder addLogContext(StringBuilder logContext, String message, Object... args){
        if (Objects.isNull(logContext)){
            logContext = new StringBuilder();
        }
        return logContext.append(System.lineSeparator()).append(System.lineSeparator()).append(String.format(message, args));
    }
}
